﻿@model IEnumerable<Gridify.Test.Models.Person>

<table class="gridify">
	<thead>
		<tr>
			<th>
				Id
			</th>
			<th data-column-name="Firstname">
				Firstname
			</th>
			<th data-column-name="Lastname">
				Lastname
			</th>
			<th data-column-name="Email">
				Email
			</th>
			<th data-column-name="Phone">
				Phone
			</th>
		</tr>
	</thead>
    <tbody>
    	@foreach (var person in Model) {
        <tr>
        	<td>
        		@person.Id
        	</td>
        	<td>
        		@person.Firstname
        	</td>
        	<td>
        		@person.Lastname
        	</td>
        	<td>
        		@person.Email
        	</td>
        	<td>
        		@person.Phone
        	</td>
        </tr>
        }
    </tbody>
</table>